﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="ucListItem.ascx.cs" Inherits="ucControl_ucListItem" %>
<div>
  
    <asp:FormView ID="frmViewDetail" runat="server" Width="100%" CssClass="format">
        <ItemTemplate>
            <table id="table" style="border: 1px solid #cccccc" width="100%" >
                <tr>
                    <td style="font-size: 12px; font-family: Tahoma; padding-left: 10px">
                       <b> Thông tin ứng dụng
                        <asp:Label ID="Label1" runat="server" Text='<%# Eval("MenuParentName") %>' ForeColor="Red" ></asp:Label></b>
                    </td>
                </tr>
                <tr>
                    <td style="font-size: 12px; font-family: Tahoma; padding-top: 2px; padding-left: 10px">
                        <asp:Label ID="Label2" runat="server" Text='<%#  Server.HtmlDecode(Eval("MenuDescription").ToString()) %>'></asp:Label>
                    </td>
                </tr>
            </table>
        </ItemTemplate>
    </asp:FormView>
</div>
<div style="width: 100%; padding-top: 10px">
    <table cellpadding="0" cellspacing="0" width="100%" style="border: 1px solid #cccccc">
        <tr>
            <td>
                <table cellpadding="0" cellspacing="0" style="width: 100%">
                    <asp:ListView runat="server" ID="lvMenuChild" ItemPlaceholderID="groupPlaceholder"
                        GroupItemCount="2" GroupPlaceholderID="layoutTemplate">
                        <LayoutTemplate>
                            <table id="layoutTemplate" runat="server"  cellpadding="0" cellspacing="0">
                            </table>
                        </LayoutTemplate>
                        <GroupTemplate>
                            <tr>
                                <div id="groupPlaceholder" runat="server">
                                </div>
                            </tr>
                        </GroupTemplate>
                        <ItemTemplate>
                            <td style="padding: 0 0 15px 10px;">
                                <div>
                                    <table width="100%" cellspacing="0" cellpadding="0">
                                        <tr>
                                            <td align="center" style="padding: 5px">
                                                <table width="100%"  cellspacing="0" cellpadding="5">
                                                    <tr>
                                                        <td colspan="2" class="menu_type_new">
                                                            <img src="images/4.gif" />
                                                            <asp:HyperLink ID="hypMenuChild" runat="server" NavigateUrl='<%# "~/DanhSachSanPham.aspx?id=" + Eval("IDMenuChild")  %>'> <%# Eval("MenuChilName")%></asp:HyperLink>
                                                        </td>
                                                         <td colspan="2" class="menu_type_new">
                                                          
                                                            <asp:HyperLink ID="HyperLink1" runat="server" Target="_blank" NavigateUrl='<%# "~/Dowload.aspx?filename=" + Eval("File")  %>'><%# Eval("File")%></asp:HyperLink>
                                                        </td>
                                                    </tr>
                                                </table>
                                            </td>
                                        </tr>
                                    </table>
                                </div>
                            </td>
                        </ItemTemplate>
                    </asp:ListView>
                </table>
            </td>
        </tr>
    </table>
</div>

